package com.explment.lens.controller.theme;

import com.explment.lens.entity.SysThemeTemplateRelEntity;
import com.explment.lens.service.SysThemeTemplateRelService;
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;
import com.explment.lens.utils.result.ResultData;
/**
 * 系统主题-模板配置关联关系 controller
 */
@RestController
@RequestMapping("/sysThemeTemplateRelEntity")
public class SysThemeTemplateRelController {
    @Autowired
    private SysThemeTemplateRelService sysThemeTemplateRelEntityService;

    @GetMapping("/{id}")
    public ResultData getById(@PathVariable String id) {
        return ResultData.success(sysThemeTemplateRelEntityService.getById(id));
    }
}